<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录页</title>
</head>
<body>
    <h1>欢迎登录CAS单点登录系统</h1>
    <div>
        <form action="doLogin" method="post">
            用户名: <input name="userName" type="text" th:value="${userName}"> <br>
            密码:  <input name="passWord" type="password" th:value="${passWord}"> <br>
            <input th:value="${returnUrl}" type="hidden" name="returnUrl" value="">
            <input type="submit" value="提交">
        </form>
        <span th:name="errorMsg" th:text="${errorMsg}" style="color: red"/>
    </div>
</body>
</html>